%ul.nav.nav-pills.nav-stacked.admin-menu
  = nav_link path: 'projects' do
    = link_to admin_projects_path do
      %i.icon-list-alt
      Projects
  = nav_link path: 'events' do
    = link_to admin_events_path do
      %i.icon-book
      Events
  = nav_link path: 'runners#index' do
    = link_to admin_runners_path do
      %i.icon-cog
      Runners
      %small.pull-right
        = Runner.count(:all)
  = nav_link path: 'builds' do
    = link_to admin_builds_path do
      %i.icon-link
      Builds
      %small.pull-right
        = Build.count(:all)
  %li
    %hr
  = nav_link(controller: :application_settings, html_options: { class: 'separate-item'}) do
    = link_to admin_application_settings_path do
      %i.icon-cogs
      %span
        Settings
